#include "Liquid.h"
#include <windows.h>
#include <graphics.h>

Liquid::Liquid(Rect _body, Color _color, float _f) :body(_body), color(_color), f(_f)
{
}

void Liquid::Draw()
{
	setfillcolor(RGB(color.r * 255, color.g * 255, color.b * 255));
	solidrectangle(X(body.l), Y(body.u), X(body.r), Y(body.b));
}
